#include <System.hpp>
#pragma hdrstop
#include "BFIXOR.h"
#include <vcl.h>
#include <TestFramework.hpp>

class TTestBFIXOR : public TTestCase
{
public:
  __fastcall virtual TTestBFIXOR(System::String name) : TTestCase(name) {}
  virtual void __fastcall SetUp();
  virtual void __fastcall TearDown();
  
__published:
  void __fastcall Testdraw();
  void __fastcall Testwidth();
};


void __fastcall TTestBFIXOR::SetUp()
{
}

void __fastcall TTestBFIXOR::TearDown()
{
}

void __fastcall TTestBFIXOR::Testdraw()
{
  // void draw(int x, int y)
}
    
void __fastcall TTestBFIXOR::Testwidth()
{
  // int width()
  TCanvas* Canvas = new TCanvas();
  BFIXOR *obj = new BFIXOR(Canvas);
  int width = obj->width();
  this->CheckTrue(width>0,"Error: width < 0 or width = 0!");
}



static void registerTests()
{
  Testframework::RegisterTest(TTestBFIXOR::Suite());
}
#pragma startup registerTests 33
